home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
X11
/
ico.z
/
ico
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
IIIICCCCOOOO((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) IIIICCCCOOOO((((1111))))
NNNNAAAAMMMMEEEE
ico - animate an icosahedron or other polyhedron
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiiiccccoooo [-display display] [-geometry geometry] [-r] [-d
pattern] [-i] [-dbe] [-faces] [-noedges] [-sleep n] [-obj
object] [-objhelp] [-colors color-list]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_I_c_o displays a wire-frame rotating polyhedron, with hidden
lines removed, or a solid-fill polyhedron with hidden faces
removed. There are a number of different polyhedra
available; adding a new polyhedron to the program is quite
simple.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
----rrrr Display on the root window instead of creating a new
window.
----dddd ppppaaaatttttttteeeerrrrnnnn
Specify a bit pattern for drawing dashed lines for wire
frames.
----iiii Use inverted colors for wire frames.
----ddddbbbbeeee Use double buffering on the display. This works for
either wire frame or solid fill drawings. For solid
fill drawings, using this switch results in
substantially smoother movement. Note that this
requires twice as many bit planes as without double
buffering. Since some colors are typically allocated
by other programs, most eight-bit-plane displays will
probably be limited to eight colors when using double
buffering.
----ffffaaaacccceeeessss
Draw filled faces instead of wire frames.
----nnnnooooeeeeddddggggeeeessss
Don't draw the wire frames. Typically used only when
-faces is used.
----sssslllleeeeeeeepppp _n
Sleep n seconds between each move of the object.
----oooobbbbjjjj _o_b_j_e_c_t
Specify what object to draw. If no object is
specified, an icosahedron is drawn.
----oooobbbbjjjjhhhheeeellllpppp
Print out a list of the available objects, along with
information about each object.
Page 1 (printed 4/30/98)
IIIICCCCOOOO((((1111)))) XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 5555)))) IIIICCCCOOOO((((1111))))
----ccccoooolllloooorrrrssss _c_o_l_o_r _c_o_l_o_r ...
Specify what colors should be used to draw the filled
faces of the object. If less colors than faces are
given, the colors are reused.
AAAADDDDDDDDIIIINNNNGGGG PPPPOOOOLLLLYYYYHHHHEEEEDDDDRRRRAAAA
If you have the source to ico, it is very easy to add more
polyhedra. Each polyhedron is defined in an include file by
the name of objXXX.h, where XXX is something related to the
name of the polyhedron. The format of the include file is
defined in the file polyinfo.h. Look at the file objcube.h
to see what the exact format of an objXXX.h file should be,
then create your objXXX.h file in that format.
After making the new objXXX.h file (or copying in a new one
from elsewhere), simply do a 'make depend'. This will
recreate the file allobjs.h, which lists all of the objXXX.h
files. Doing a 'make' after this will rebuild ico with the
new object information.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
X(1)
BBBBUUUUGGGGSSSS
Pyramids and tetrahedrons with filled faces do not display
correctly.
A separate color cell is allocated for each name in the
-colors list, even when the same name may be specified
twice.
CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
Copyright 1988, Massachusetts Institute of Technology.
See _X(_1) for a full statement of rights and permissions.
Page 2 (printed 4/30/98)